<template>
  <div class="error-page">
    <div class="error-code">404</div>
    <div class="error-desc">啊哦~ 你所访问的页面不存在</div>
    <div class="error-handle">
      <router-link to="/">
        <el-button type="primary" size="large">返回首页</el-button>
      </router-link>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Page404',
  created() {
    console.log('[404 Page] Created with route:', this.$route);
  }
}
</script>

<style scoped>
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: #fff;
  border-radius: 8px;
  font-family: Arial, sans-serif;
}

.error-code {
  font-size: 80px;
  font-weight: bold;
  color: #2d8cf0;
}

.error-desc {
  font-size: 30px;
  color: #777;
  margin: 20px 0;
}

.error-handle {
  margin-top: 30px;
}
</style>